#ifndef SDR_EVENT_H_INCLUDED
#define SDR_EVENT_H_INCLUDED

#include "SDR_Button.h"

enum SDR_EventType
{
    SDR_NO_EVENT, SDR_EVENT_BUTTON_OUT, SDR_EVENT_BUTTON_OVER, SDR_EVENT_BUTTON_DOWN, SDR_EVENT_BUTTON_UP, SDR_EVENT_BUTTON_UPOUT
};
typedef enum SDR_EventType SDR_EventType;


struct SDR_Event
{
    SDR_EventType type;

    SDR_Button * button;

    struct SDR_Event * next;
    struct SDR_Event * previous;
};
typedef struct SDR_Event SDR_Event;

struct SDR_EventList
{
    SDR_Event * first;
    SDR_Event * last;
};
typedef struct SDR_EventList SDR_EventList;

#endif // SDR_EVENT_H_INCLUDED
